package com.peter.design.pattern.factory.abstractfactory;

/**
 * @Auther: 肖冬
 * @Date: 2020/7/23 18:38
 * @Description: 创建java产品族的具体工厂
 */
public class JavaCourseFactory extends CourseFactory {
    @Override
    protected INote createNote() {
        super.init();
        return new JavaNote();
    }

    @Override
    protected IVideo createVideo() {
        super.init();
        return new JavaVideo();
    }
}
